home *** CD-ROM | disk | FTP | other *** search
/ Whiteline: Alpha / Whiteline Alpha.iso / progtool / c / gcc / crssrc16.zoo / src / makefile.32 < prev    next >
Encoding:
Makefile  |  1992-04-27  |  846 b   |  41 lines

  1. # Makefile for the GCC curses/termcap library (32 bit int default)
  2.  
  3. CC= d:\gnu\bin\gcc.ttp
  4. CPP=d:\gnu\bin\gcc-cpp.ttp
  5. AR= d:\gnu\bin\gcc-ar.ttp
  6. AS= $(CC)
  7. LIB = d:\gnu\lib
  8. INC = d:\gnu\include
  9.  
  10. MODEL = -I.
  11. DEFINES = -DDGK -DGEMDOS
  12. COPTS= -O -fomit-frame-pointer -fstrength-reduce \
  13.  -DNDEBUG $(DEFINES) $(XFLAGS)
  14.  
  15. # normal CFLAGS
  16. CFLAGS= $(MODEL) $(COPTS)
  17.  
  18. # CFLAGS sans -fomit-frame-pointer
  19. CFFLAGS = $(MODEL) -O -DNDEBUG $(XFLAGS)
  20.  
  21. # cflags for stuff that needs to be compiled with 32 bit ints
  22. # (this def is needed for the common include file)
  23. CLFLAGS= $(CFLAGS) $(XFLAGS)
  24.  
  25. # flags to $(CC) when it runs the assembler only
  26. ASFLAGS= -c
  27.  
  28. # pre-processor flags
  29. PPFLAGS= -P -DNDEBUG
  30.  
  31. # library targets
  32. CURSES= curses.olb
  33. TERMCAP = termcap.olb
  34.  
  35. # the stuff to make
  36. ALL= $(CURSES) $(TERMCAP)
  37.  
  38. TESTS = testtcp.ttp twinkle.ttp worms.ttp
  39.  
  40. include mincl
  41.